package com.mdz.nc.Entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 孟德志
 * @since 2020-03-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("qrtz_simprop_triggers")
public class QrtzSimpropTriggers extends Model<QrtzSimpropTriggers> {

    private static final long serialVersionUID=1L;

    @TableId(value = "sched_name", type = IdType.AUTO)
    private String schedName;

    @TableField("trigger_name")
    private String triggerName;

    @TableField("trigger_group")
    private String triggerGroup;

    @TableField("str_prop_1")
    private String strProp1;

    @TableField("str_prop_2")
    private String strProp2;

    @TableField("str_prop_3")
    private String strProp3;

    @TableField("int_prop_1")
    private Integer intProp1;

    @TableField("int_prop_2")
    private Integer intProp2;

    @TableField("long_prop_1")
    private Long longProp1;

    @TableField("long_prop_2")
    private Long longProp2;

    @TableField("dec_prop_1")
    private BigDecimal decProp1;

    @TableField("dec_prop_2")
    private BigDecimal decProp2;

    @TableField("bool_prop_1")
    private String boolProp1;

    @TableField("bool_prop_2")
    private String boolProp2;


    @Override
    protected Serializable pkVal() {
        return this.schedName;
    }

}
